@keyframes fade-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-leave {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.fade {
  &-enter-active {
    animation: fade-enter .5s both ease;
  }
  &-leave-active {
    animation: fade-leave .5s both ease;
  }
}

@keyframes slide-right-enter {
  from {
    transform: translate3d(100%, 0, 0);
  }
}

@keyframes slide-right-leave {
  to {
    transform: translate3d(100%, 0, 0);
  }
}

.slide-right {
  &-enter-active {
    animation: slide-right-enter .3s both ease;
  }
  &-leave-active {
    animation: slide-right-leave .3s both ease;
  }
}
